﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GenericDemo
{
    public interface IAbc<in T, out S> 
        where T: BaseClass 
        where S:BaseClass
    {
        S GetValue();
        void Abc(T input);
    }

    public class BaseClass
    {
    }

    public class DerivedClass : BaseClass
    {

    }
}
